//
//  ZLExciseModel.h
//  ZLExamination
//
//  Created by Zheng on 2017/9/19.
//  Copyright © 2017年 Zheng. All rights reserved.
//

#import "YCBaseModel.h"

@interface ZLExciseResultListModel : YCBaseModel

@property (nonatomic, copy) NSString *curriculum_id; //课程id
@property (nonatomic, copy) NSString *chapter_id; //章节id

@property (nonatomic, copy) NSString *add_time; //添加时间
@property (nonatomic, copy) NSString *analysis; //错题解析
@property (nonatomic, copy) NSString *credit_num; //增加学分
@property (nonatomic, copy) NSString *questions_id;
@property (nonatomic, copy) NSString *score;
@property (nonatomic, copy) NSString *user_id; //学员ID
@property (nonatomic, copy) NSString *user_paper_id;

@property (nonatomic, copy) NSString *x_idx; //题库ID //收藏ID
@property (nonatomic, copy) NSString *subject; //题目名称
@property (nonatomic, copy) NSString *type; //类型 1：单选 2：多选
@property (nonatomic, copy) NSString *op_answer; //题目答案选项
@property (nonatomic, copy) NSString *the_answer; //所选答案
@property (nonatomic, copy) NSString *co_answer; //正确答案

@property (nonatomic, copy) NSString *typeOfAnswer; //1.未作答 2.正确 3.错误
@property (nonatomic) NSInteger questionNumber; //题号
@property (nonatomic, strong) NSMutableArray *optionTypes; //1.白 2.蓝 3.红

@property (nonatomic, strong) NSArray *options; //所有答案

@end


@interface ZLExciseModel : YCBaseModel

@property (nonatomic, copy) NSString *x_id; //章节ID
@property (nonatomic, copy) NSString *user_id; //学员ID
@property (nonatomic, copy) NSString *chapter_id; //章节ID
@property (nonatomic, copy) NSString *curriculum_id; //课程ID
@property (nonatomic, copy) NSString *suspend_qid; //暂停题号,默认0


@property (nonatomic, copy) NSString *is_read; //是否锁定1：锁定2：为锁定
@property (nonatomic, copy) NSString *exercises_status; //练习状态 1：未开始 2：进行中 3：暂停 4：已完成
@property (nonatomic, copy) NSString *status; //状态 1：未学习 2：已学习

@property (nonatomic, copy) NSString *read_number; //学习量 1-100
@property (nonatomic, copy) NSString *correct_num; //正确数量
@property (nonatomic, copy) NSString *curriculum_name; //测试课题
@property (nonatomic, copy) NSString *chapter_name; //测试章节标题
@property (nonatomic, copy) NSString *correct_rate; //正确率
@property (nonatomic, copy) NSString *add_time;
@property (nonatomic, copy) NSString *error_num; //错误数量

@property (nonatomic, copy) NSArray *subject_list; //题目列表

@property (nonatomic, copy) NSArray<NSMutableArray *> *answers; //单选和多选数组
@property (nonatomic, copy) NSArray<NSMutableArray *> *wrongAnswes; //错题的单选和多选数组


@end
